/*
 * Text.java
 *   *January 6, 2014, Finals
 * Finals Completion Project
 * 
 * The following codes are the work of the IT.WORKS team in   
 * fulfillment of the requirement for Programming Applications
 * class code 9607. Copying of this work will result to 
 * serious consequences both to the IT.WORKs team and the plagiarizing 
 * party
 */

import java.util.*;

/**
 * This program serves as a type summoned by the reader classes of A+ Student
 * Scheduler Application
 *
 * @author 2132446 Matib,Nicole
 * @edited by 2132446
 *		-  added date line
 *
 * @version 2.0.6 
 */
public class Text {

    private String name;
    private String timeDiv;
    private int toHour;
    private int toMin;
    private String room;
    private int year;
    private int day;
    private int month;
    private String subject;
    private String type;
    private int fromHour;
    private int fromMin;
    private int code;
    private String courseNo;
    private String desTitle;
    private int unit;
    private String days;
    private String inst;

    public Text(int code, String courseNo, String desTitle, int unit, int fromHour, int fromMin, int toHour, int toMin, String days, String room, String inst) {

        this.code = code;
        this.courseNo = courseNo;
        this.desTitle = desTitle;
        this.unit = unit;
        this.fromHour = fromHour;
        this.fromMin = fromMin;
        this.toHour = toHour;
        this.toMin = toMin;
        this.days = days;
        this.room = room;
        this.inst = inst;
    }

    public Text(String name, String subject, String type, int day, int month, int year, int toHour, int toMin, String timeDiv) {

        this.name = name;
        this.subject = subject;
        this.type = type;
        this.day = day;
        this.month = month;
        this.year = year;
        this.toHour = toHour;
        this.toMin = toMin;
        this.timeDiv = timeDiv;
    }

    public int getCode() {
        return code;
    }

    public String getDesTitle() {
        return desTitle;
    }

    public int getUnit() {
        return unit;
    }

    public String getDays() {
        return days;
    }

    public String getCourse() {
        return courseNo;
    }

    public int getFromHour() {
        return fromHour;
    }

    public int getFromMin() {
        return fromMin;
    }

    public int getToHour() {
        return toHour;
    }

    public int getToMin() {
        return toMin;
    }

    public String getTimeDiv() {
        return timeDiv;
    }

    public String getRoom() {
        return room;
    }

    public String getInst() {
        return inst;
    }

    public String getName() {
        return name;
    }

    public String getSubject() {
        return subject;
    }

    public String getType() {
        return type;
    }

    public int getDay() {
        return day;
    }

    public int getMonth() {
        return month;
    }

    public int getYear() {
        return year;
    }
}